﻿using System;
using System.Collections.Generic;
using System.Text;
using ECommerce.Library.DataStructure;
using ECommerce.Library.ECommerce;
using Entity;
using ECommerce.Library;
using log4net;
using System.IO;
using System.Web;
using System.Data.SqlTypes;

namespace AutoGear.BLL
{
    public class ProductAdditionalImage
    {
        #region Constructor
         public ProductAdditionalImage() { }
        #endregion

        public static string ProductAdditionalImageSmallThumbnail(string additionalImageUrl)
        {
          return additionalImageUrl.Replace("list", "smallthumb");
        }

        public static string ProductAdditionalImageLargeThumbnail(string additionalImageUrl)
        {
             return additionalImageUrl.Replace("list", "largethumb"); 
        }

        public static string ProductAdditionalImageDetailSize(string additionalImageUrl)
        {
           return additionalImageUrl.Replace("list", "detail");
        }

        public static string ProductAdditionalImageMaxSize(string additionalImageUrl)
        {
             return additionalImageUrl.Replace("list", "max"); 
        }

        public static string ProductAdditionalImageOriginalSize(string additionalImageUrl)
        {
            return additionalImageUrl.Replace("list", "original");
        }

    }
}
